'use strict';

async function first_test() {
    let result = await Promise.resolve('ok');
    console.log(result);
    return new Promise(function (resolve, reject) {
        setTimeout(function () {
            resolve('Cool');
        },3000);
    });
};

async function second_test() {
    let result = await first_test();
    console.log('second_test result', result);
}

second_test().then(function (result) {
    console.log('second_test promise then', result);
});
console.log('after section_test()');
